<template>
  <div class="container">
    <img src="../assets/404.png" alt="" />
    <div>
      <p>404. That's an error.</p>
      <p>The requested URL /not/found was not found on this server</p>
    </div>
    <div class="back-line">
      <a-button @click="goback" type="primary">Back</a-button>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goback() {
      this.$router.go(-1);
    },
  },
};
</script>

<style   lang="less" scoped>
.container {
  box-sizing: border-box;
  padding-top: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  img {
    width: 600px;
  }
  p {
    font-size: 40px;
  }
  .back-line {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
</style>